package com.pkk.cloud.support.admin.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "penguin_sys_user")
public class PenguinSysUser implements Serializable {

  private static final long serialVersionUID = -2196071048715581547L;

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 用户账号
   */
  @TableField(value = "uname")
  private String uname;

  /**
   * 用户密码
   */
  @TableField(value = "pwd")
  private String pwd;

  /**
   * 昵称
   */
  @TableField(value = "nickname")
  private String nickname;

  /**
   * 邮箱
   */
  @TableField(value = "email")
  private String email;

  /**
   * 头像地址
   */
  @TableField(value = "head_image")
  private String headImage;

  /**
   * 是否启用1:启用,0删除
   */
  @TableField(value = "is_enable")
  private Boolean isEnable;


  /**
   * 是否删除1:删除,0:不删除
   */
  @TableField(value = "is_del")
  private Boolean isDel;


  /**
   * 创建时间
   */
  @TableField(value = "create_time")
  private Date createTime;


  /**
   * 创建人
   */
  @TableField(value = "create_name")
  private String createName;


  /**
   * 更新时间
   */
  @TableField(value = "update_time")
  private Date updateTime;

  /**
   * 修改人
   */
  @TableField(value = "update_name")
  private String updateName;

}